package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.VendorInvoicing;
import org.apache.ibatis.annotations.Param;

/**
 * 物资中心开票Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-18
 */
public interface VendorInvoicingMapper 
{
    /**
     * 查询物资中心开票
     * 
     * @param id 物资中心开票主键
     * @return 物资中心开票
     */
    public VendorInvoicing selectVendorInvoicingById(Long id);

    /**
     * 查询物资中心开票列表
     * 
     * @param vendorInvoicing 物资中心开票
     * @return 物资中心开票集合
     */
    public List<VendorInvoicing> selectVendorInvoicingList(VendorInvoicing vendorInvoicing);

    /**
     * 新增物资中心开票
     * 
     * @param vendorInvoicing 物资中心开票
     * @return 结果
     */
    public int insertVendorInvoicing(VendorInvoicing vendorInvoicing);

    /**
     * 修改物资中心开票
     * 
     * @param vendorInvoicing 物资中心开票
     * @return 结果
     */
    public int updateVendorInvoicing(VendorInvoicing vendorInvoicing);

    /**
     * 删除物资中心开票
     * 
     * @param id 物资中心开票主键
     * @return 结果
     */
    public int deleteVendorInvoicingById(Long id);

    /**
     * 批量删除物资中心开票
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVendorInvoicingByIds(Long[] ids);

    public VendorInvoicing getVendorInvoicing(VendorInvoicing vendorInvoicing);



    public List<Map<String,Object>>  listGroupProvide(@Param("provide")String provide,@Param("isNull")Boolean isNull);
}
